﻿namespace JunFan.Tests.Infrastructure
{
    using System;

    public class Given
    {
        public static ItemBuilder NewItem
        {
            get
            {
                return new ItemBuilder();
            }
        }

        public static ItemBuilder StartedItem
        {
            get
            {
                var itemBuilder = new ItemBuilder();

                itemBuilder.StartedOn(DateTime.Today.AddDays(-8));

                return itemBuilder;
            }
        }

        public static ItemBuilder CompletedItem
        {
            get
            {
                var itemBuilder = new ItemBuilder();
                
                itemBuilder.StartedOn(DateTime.Today.AddDays(-8));
                itemBuilder.CompletedOn(DateTime.Today.AddDays(-5));
                
                return itemBuilder;
            }
        }

        public static int ItemIdThatDoesntExist
        {
            get { return 12; }
        }
    }
}